package lagou.MapTest.ListTest;

import java.util.*;

public class CollectionsTest {
    public static void main(String[] args) {
        List<Integer> list = Arrays.asList(10, 20, 30, 40, 50);
        System.out.println("集合中的最大值是："+ Collections.max(list));
        System.out.println("集合中的最小值："+Collections.min(list));
        Collections.reverse(list);
        System.out.println(list);
        Map map1 = new HashMap();
    }
}
